package com.zhuoyue.biz.core.api.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.zhuoyue.biz.core.api.domain.base.BaseDoClass;

import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author wjming
 * @ClassName: CompositeSceneRelation
 * @Description: 组合场景
 * @Date 2021-07-08 13:17
 */

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "`tbl_composite_scene_relation`")
public class CompositeSceneRelation extends BaseDoClass implements Serializable {


    /**
     * 场景ID
     */
    @TableField(value = "`scene_id`")

    private String sceneId;

    /**
     * 子场景
     */
    @TableField(value = "`child_scene`")

    private String childScene;

    /**
     * 命令
     */
    @TableField(value = "`cmd`")

    private String cmd;

    /**
     * 执行状态
     */
    @TableField(value = "`state_des`")

    private String stateDes;

    /**
     * 状态
     */
    @TableField(value = "`state`")

    private Integer state;

    /**
     * 意图
     */
    @TableField(value = "`purpose`")

    private String purpose;

    /**
     * 控制参数
     */
    @TableField(value = "`control_param`")

    private String controlParam;

    @TableField(value = "`sort`")

    private int sort;


    private static final long serialVersionUID = 1L;

    public static final String COL_ID = "id";

    public static final String COL_SCENE_ID = "scene_id";

    public static final String COL_CHILD_SCENE = "child_scene";

    public static final String COL_CMD = "cmd";

    public static final String COL_STATE_DES = "state_des";

    public static final String COL_STATE = "state";

    public static final String COL_PURPOSE = "purpose";

    public static final String COL_CONTROL_PARAM = "control_param";

    public static final String COL_SORT = "t_c_s_r.sort";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_MODIFY_TIME = "modify_time";
}